third-party-exp-api
Print Customer Court Cases
URLS:
Description : This API returns the file information in encoded format based on customer profile. The pdfToken being passed in URI parameter.
Channels can consume Mulesoft’s REST API exposed as an experience API.
Mulesoft Request:
Mandatory Headers: client_id, x-correlation-id, Authorization, x-channel-id, x-bank-id
Optional Headers: client_secret, x-user-id, x-sub-channel-id, x-debug-flag, x-customer-id
Headers
Below headers are need to be sent to all the qbank endpoints
HeaderName | HeaderType | Optional? |
---|---|---|
accept | application/json | Mandatory |
content-type | application/json | Mandatory |
charset | utf-8 | Mandatory |
Authorization | Basic | Mandatory |
Mulesoft Response:
Success Response: (200)
Response Body: application/json
{
"status": {
"success": true,
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"file": "JVBERi0xLjYNJeLjz9MNCjE3IDAgb2JqDTw8L0xpbmVhcml6ZWQgMS9MIDMwNzcwL08gMTkvRSAyNjM4Ny9OIDEvVCAzMDQ2Ny9IIFsgNDM4IDE0OF0+Pg1lbmRvYmoNICAgICAgICAgICAgICAgICAgDQoyMiAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgMy9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPDMwODU2OEJCMUU5RTQ4NDNCMUNFRjc0OUYyQUQyMkVEPjw5OUI0NDU1MkRCQ0U2MjRFQTgzMTQwRTZFMUE5M0I3MT5dL0luZGV4WzE3IDddL0luZm8gMTYgMCBSL0xlbmd0aCAzNi9QcmV2IDMwNDY4L1Jvb3QgMTggMCBSL1NpemUgMjQvVHlwZS9YUmVmL1dbMSAyIDBdPj5zdHJlYW0NCmjeYmJkEGBiYLJiYmAIZmJgPA/E05gY/hQBaSeAAAMAJV8Dxw0KZW5kc3RyZWFtDWVuZG9iag1zdGFydHhyZWYNCjANCiUlRU9GDQogICAgICAgIA0KMjMgMCBvYmoNPDwvQyA2Ny9GaWx0ZXIvRmxhdGVEZWNvZGUvSSA4OS9MZW5ndGggNjQvUyAzNj4+c3RyZWFtDQpo3mJgYGBmYGDiZACClDIGTMDCwIHEY4ZiBoZpDPwMRQzMwjdAHEYGhrOpEJpRAEkrw50aiCjDLYAAAwDmigZ8DQplbmRzdHJlYW0NZW5kb2JqDTE4IDAgb2JqDTw8L01ldGFkY"
}
}
Sample Error Response:
Error codes :
400:
content-type: JSON
{
"status": {
"success": false,
"code": "400",
"reasonCode": "BadRequest",
"arabicMessage": "لم يتم العثور على سجلات تطابق Ù…Øددات البØØ«",
"englishMessage": "No records were found that matched the selection criteria",
"backendError": "No records were found that matched the selection criteria",
"backendCode": "T24003790"
}